import http from "../utils/http"
export default {
    getUser(){
        return http({
            url:'/user/user'
        })
    },
    
    login(data) {
        return http({
            url:'/user/login',
            data:data,
            method:'post'
        })
    },
    regisiter(data) {
        return http({
            url:'/user/register',
            data:data,
            method:'post'
        })
    },
}